package com.lovo.web.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Getter
@Setter
@NoArgsConstructor
@ApiModel(value = "页面展示商品实体类",description = "页面展示商品实体类")
@TableName("display")
public class DisplayBean {
    /**商品展示主键*/
    @ApiModelProperty("商品展示主键")
    @TableId(value = "pk_id",type = IdType.AUTO)
    private long id;
    /**商品名*/
    @ApiModelProperty("商品名")
    @TableField("d_goodsName")
    private String productName;
    /**商品规格*/
    @ApiModelProperty("商品规格")
    @TableField("d_goodsType")
    private String type;
    /**商品原价*/
    @ApiModelProperty("商品原价")
    @TableField("d_goodsPrice")
    private float price;
    /**商品图片*/
    @ApiModelProperty("商品图片")
    @TableField("d_img")
    private String img;

}
